package com.tarena.luban.test.config.condition;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.context.annotation.Configuration;

@Configuration
//条件逻辑是 不存在则满足条件
@ConditionalOnMissingClass("com.tarena.luban.test.bean.Bean06")
public class MyConditionConfig01 {
    public MyConditionConfig01() {
        System.out.println("条件配置类01,满足条件");
    }
}
